home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global clear, collide, level, done, shipcast, alienblow, men, time, play, rate, movie, next, commence
- if next = 1 then
- set next to 0
- set level to level + 1
- repeat with q = 1 to 44
- puppetSprite(q, 0)
- end repeat
- set alienblow to []
- repeat with q = 1 to 33
- addAt(alienblow, q, 6)
- end repeat
- set commence to 0
- set play to 0
- set time to 0
- set rate to 1
- set movie to level + 38
- preloadMember(movie)
- set the directToStage of member movie to 1
- set the controller of member movie to 0
- puppetTempo(10)
- set the colorDepth to 32
- if the colorDepth < 32 then
- set the colorDepth to 16
- end if
- cursor(-1)
- set the cursor of sprite 5 to [23, 24]
- set the cursor of sprite 6 to [23, 24]
- set the cursor of sprite 7 to [23, 24]
- set the cursor of sprite 8 to [23, 24]
- set the cursor of sprite 9 to [23, 24]
- set the cursor of sprite 10 to [23, 24]
- set the cursor of sprite 11 to [23, 24]
- randomSound()
- go(5)
- end if
- keyboard()
- fire()
- alien()
- hit()
- background()
- if (collide = 1) and (shipcast = 1) then
- set shipcast to 1 + shipcast
- puppetSound(1, "EXPLODE")
- end if
- if (done = 1) and (clear = 0) then
- repeat with q = 1 to 44
- puppetSprite(q, 0)
- end repeat
- set men to men - 1
- if men = 0 then
- cursor(-1)
- set the cursor of sprite 5 to [23, 24]
- set the cursor of sprite 6 to [23, 24]
- set the cursor of sprite 7 to [23, 24]
- set the cursor of sprite 8 to [23, 24]
- set the cursor of sprite 9 to [23, 24]
- set the cursor of sprite 10 to [23, 24]
- set the cursor of sprite 11 to [23, 24]
- set the colorDepth to 32
- if the colorDepth < 32 then
- set the colorDepth to 16
- end if
- go(1)
- else
- go(2)
- end if
- end if
- if clear > 0 then
- set clear to 1 + clear
- end if
- if clear = 60 then
- set level to level + 1
- repeat with q = 1 to 44
- puppetSprite(q, 0)
- end repeat
- set alienblow to []
- repeat with q = 1 to 33
- addAt(alienblow, q, 6)
- end repeat
- if done = 1 then
- set men to men - 1
- end if
- set commence to 0
- set play to 0
- set time to 0
- set rate to 1
- set movie to level + 38
- preloadMember(movie)
- set the directToStage of member movie to 1
- set the controller of member movie to 0
- puppetTempo(10)
- set the colorDepth to 32
- if the colorDepth < 32 then
- set the colorDepth to 16
- end if
- cursor(-1)
- set the cursor of sprite 5 to [23, 24]
- set the cursor of sprite 6 to [23, 24]
- set the cursor of sprite 7 to [23, 24]
- set the cursor of sprite 8 to [23, 24]
- set the cursor of sprite 9 to [23, 24]
- set the cursor of sprite 10 to [23, 24]
- set the cursor of sprite 11 to [23, 24]
- randomSound()
- go(5)
- end if
- go(the frame)
- end
-